using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Foundation;
using SpotOffer.CustomViews;
using SpotOffer.iOS.CustomRenderer;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;

[assembly: ExportRenderer(typeof(CustomEntry), typeof(CustomEntryRenderer))]
namespace SpotOffer.iOS.CustomRenderer
{
  
    public class CustomEntryRenderer : EntryRenderer
    {
        // Override the OnElementChanged method so we can tweak this renderer post-initial setup
        protected override void OnElementChanged(ElementChangedEventArgs<Entry> e)
        {
            base.OnElementChanged(e);

            if (Control != null)
            {   // perform initial setup
                // do whatever you want to the UITextField here!
                /*Control.ItemBackgroundColor = UIColor.White;
                Control.BorderStyle = UITextBorderStyle.Line;*/
            }
        }
    }
}